import django_filters

from oplatform.constant import STATUS
from oplatform.models import ConfigurationData


class DvbConfigFilterSet(django_filters.FilterSet):
    status = django_filters.MultipleChoiceFilter(field_name='status', choices=STATUS)

    class Meta:
        model = ConfigurationData
        fields = '__all__'

